//
//  BZHomeReweetView.swift
//  weibo
//
//  Created by zzx on 2017/8/2.
//  Copyright © 2017年 zzx. All rights reserved.
//

import UIKit

//MARK: - 转发视图
class BZHomeReweetView: UIView {
    
    //MARK:-- 懒加载控件
    private lazy var contentLabel: UILabel = {
        
        let label = UILabel(fontSize: 13, textColor: UIColor.lightGray)
        
        //多行显示
        label.numberOfLines = 0
        
        return label
        
    }()
    
    override init(frame: CGRect) {
        super.init(frame: frame)
        setupUI()
    }
    
    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }
    
    //MARK:-- 搭建UI界面
    func setupUI() {
        
        backgroundColor = #colorLiteral(red: 0.9686274529, green: 0.78039217, blue: 0.3450980484, alpha: 1)
        
        addSubview(contentLabel)
        
        contentLabel.snp.makeConstraints { (make) in
            
            make.top.leading.equalTo(self).offset(HomeCellMargin)
            
            make.trailing.equalTo(self).offset(-HomeCellMargin)
        }
        
        
    }
    

}
